#include "main.h"
#include "mainwindow.h"
#include <QApplication>
#include "start.h"
#include "menu.h"
Glo glo;


/*
源代码分析戳这里：http://blog.csdn.net/qq_26046771/article/details/72636320

  */
int main(int argc, char *argv[])
{
	//add a comment
    QApplication a( argc, argv);
    start w;
    w.show();
    menu m;
    QObject::connect(&w,SIGNAL(tomenu()),&m,SLOT(menushow()));
    QObject::connect(&m,SIGNAL(backtostart()),&w,SLOT(startshow()));
    return a.exec();
}
